#!/bin/bash

function kystl_nginx_install()
{
    printf '\n%s\n\n' "$INFCOLOR [$STATS] 确认Nginx是否安装 $NOCOLOR"
    yum install nginx -y &>/dev/null
    printf '%s\n' "$SUCCOLOR [ 成  功 ] 已安装Nginx $NOCOLOR"
    (( STATS++ ))
}

function kystl_nginx_start()
{
    systemctl start nginx
}

function kystl_nginx_enable()
{
    systemctl enable nginx
}